<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>Minimal and Clean Sign up / Login and Forgot Form by FreeHTML5.co</title>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link rel="stylesheet" href="layui/css/layui.css"/>
    <script src="layui/layui.js" type="text/javascript" charset="utf-8"></script>
    <script src="layer/JQuery/jquery-3.1.1.min.js" type="text/javascript" charset="UTF-8"></script>
    <style>
        html {
            background: url() no-repeat;
            background-size: 100% 100%;
            height: 100%;
            width: 100%;
        }

        .layui-form {
            padding: 40px 0;
            padding-left: 30px;
            width: 350px;
            margin: 50px auto;
            background-color: rgba(0, 0, 0, 0.1);
            box-shadow: 0 0 10px 10px rgba(255, 255, 255, 0.2);
        }

        .layui-form-label {
            display: block;
            background: #33cccc;
            height: 20px;
            width: 45px;
            color: white;
            padding-left: 0px;
            font-size: 24px;
        }

        .layui-input-block {
            margin-left: 60px;
            height: 38px;
            border-radius: 2px;
            width: 220px;
            padding-left: 30px;
        }

        .layui-form-item .layui-input-inline, .layui-input-inline {
            width: 250px;
        }

        .layui-form-radio > i:hover, .layui-form-radioed > i {
            color: #33cccc;
        }

        .layui-form-select dl dd.layui-this {
            background-color: #33cccc;
        }

        .layui-input-inline a {
            color: #33cccc;
            margin-left: 20px;
        }

        .lianjie {
            text-align: center;
            margin: 10px 0;
            position: relative;
            left: -10px;
        }

        .lianjie a, span {
            color: #33CCCC;
            margin: 0 5px;
        }
    </style>
</head>
<body>



<form class="layui-form" th:action="@{/login}" method="post">

    <!--<div class="layadmin-user-login layadmin-user-display-show" id="LAY-user-login" style="display: none;">-->
        <!--<div class="layadmin-user-login-box layadmin-user-login-header">-->
            <!--<h2>layuiAdmin</h2>-->
            <!--<p>layui 官方出品的单页面后台管理模板系统</p>-->
        <!--</div>-->
    <!--</div>-->

    <!--账号-->
    <div class="layui-form-item">
        <label class="layui-form-label layui-icon layui-icon-username"></label>
        <div class="layui-inline">
            <div class="layui-input-inline">
                <input type="tel" required id="username" name="username" lay-verify="number" autocomplete="off"
                       class="layui-input"
                       placeholder="账号" maxlength="8"/>
            </div>
        </div>
    </div>

    <!--密码-->
    <div class="layui-form-item">
        <label class="layui-form-label layui-icon layui-icon-password"></label>
        <div class="layui-input-inline">
            <input type="password" required id="password" name="password" lay-verify="pass" placeholder="密码"
                   autocomplete="off"
                   class="layui-input"/>
        </div>
    </div>

    <div class="lianjie">
        <!--<a href="forget.html">忘记密码</a>-->
        <p style="color: red" th:text="${msg}" th:if="${not #strings.isEmpty(msg)}"></p>
    </div>
    <div class="layui-form-item">
        <div class="layui-input-inline">
            <button class="layui-btn" id="loginbutton" lay-submit="" lay-filter="demo1"
                    style="width: 310px;border-radius: 2px;background:#33cccc;margin-left: 0px;">登录
            </button>
        </div>
    </div>
</form>
</body>
</html>